package com.novax.ex.activity.open.api.inner;

import com.novax.ex.activity.open.model.query.TaskAwardLogQuery;
import com.novax.ex.activity.open.model.response.TaskAwardLogResponse;
import com.novax.ex.common.results.ReturnResult;
import com.novax.ex.common.util.PageUtil;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springdoc.core.annotations.ParameterObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;

@Tag(name = "后台-新手引导-关键步骤奖励", description = "后台-新手引导-关键步骤奖励")
@FeignClient(url = "${remote.activity-service.endpoint}", name = "TaskAwardLogApi", contextId = "TaskAwardLogApi")
public interface TaskAwardLogApi {

    @Operation(summary = "分页查询")
    @GetMapping("/v3/private/task/award/log")
    ReturnResult<PageUtil<TaskAwardLogResponse>> page(@RequestHeader("language") String language,
                                                      @ParameterObject TaskAwardLogQuery query);


}
